package com.oswego.dawcs;

/**
 * Created by Marcus on 4/21/14.
 */
// database class

public class Component {

    int ID;
    String position;
    String type;
    int value;


    public Component(){}

    public Component(int id, String pos, String typ, int val){
        ID = id;
        position = pos;
        type = typ;
        value = val;
    }

    public Component(String pos, String typ, int val){
        position = pos;
        type = typ;
        value = val;
    }

    public void setId(int x){
        ID = x;
    }

    public int getId(){
        return ID;
    }

    public String getType(){
        return type;
    }

    public void setType(String x){
        type = x;
    }

    public void setPosition(String x){
        position = x;
    }

    public String getPosition(){
        return position;
    }

    public int getValue(){
        return value;
    }

    public void setValue(int x){
        value = x;
    }

}
